package org.py.mymodule.submodule.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 叶子数量表
 * </p>
 *
 * @author author
 * @since 2025-03-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("astudent_leaf_count")
@ApiModel(value="AstudentLeafCount对象", description="叶子数量表")
public class AstudentLeafCount implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "计数ID")
    @TableId(value = "count_id", type = IdType.AUTO)
    private Integer countId;

    @ApiModelProperty(value = "用户ID")
    @TableField("user_id")
    private Integer userId;

    @ApiModelProperty(value = "叶子数量")
    @TableField("leaf_count")
    private Integer leafCount;

    @ApiModelProperty(value = "创建时间")
    @TableField("created_at")
    private LocalDateTime createdAt;


}
